<div class='fui-page fui-page-current'>
	<div class="fui-header">
			<div class="fui-header-left" onclick="window.history.go(-1);">
				<a class="back"></a>
			</div>
			<div class="title">填写信息</div>
			<div class="fui-header-right"></div>
	</div>
	<div class="fui-content">
	<div class="weui_cells_title">选择投票</div>
		 <div class="fui-tab-scroll" style="height: 3.8rem" >
			<div class="xcontainer weui_cells_radio3" style="z-index:0;height: 3.8rem;padding:0.3rem" >
			    <label class="jyui_cell_member" ng-repeat="item1 in pagedata.opts">
					<div class="userimg">
						<img class="img-circle"  ng-src="{{tomedia(item1.thumb) || '../core/resource/images/nopic.jpg'}}" width="50" height="50">
						<div class="imglogo-check" ng-click="pagedata.post.optid=item1.id;">
							<input type="radio" class="weui_check" name="radio2">
							<span class="weui_icon_checked"></span>
						</div>
					</div>
					<div>
						<span style="font-size:0.5rem">{{item1.title}}</span>
					</div>
				</label>
			</div>
		</div>
	<div class="weui_btn_area">
			 <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips" ng-click="pagedata.submit()">提交</a>
	</div>
</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.pagedata.submit=function(){
	var params={
		data:scope.pagedata.post,
		'plugin':'jy_h5game',
		'action':'post_data',
		'op':'h5_vote',
		callback:function(res){
		
				
			if(res.type=='success'){
				scope.message('提交成功');
							
				}else{
					scope.message('投票失败','error');
				}						
		
		}
	};
	scope.post_json(params);

}
</script>